package com.xdl.moudle.utils.util.bean;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

/**
 * 公共基础参数
 * @author xiazhengjiao
 *
 */
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
public class AppAction {
	/**
	 * token验证
	 */
	@JsonProperty
	private String Token; 
	/**
	 * 版本号
	 */
	@JsonProperty
	private String Version;
	/**
	 * 来自平台 Android/IOS/PC /WX/App
	 */
	@JsonProperty
	private String Patform;
	/**
	 * 时间戳
	 */
	@JsonProperty
	private String DateKey;
	/**
	 * ip地址
	 */
	@JsonProperty
	private String IpAddress;
	/**
	 * 1wifi 04g
	 */
	@JsonProperty
	private String Iswifi;
	/**
	 * 签名
	 */
	@JsonProperty
	private String Sign;
	/**
	 * 分页当前页面
	 */
	@JsonProperty
	private Integer CurrenPage;
	
	@JsonProperty
	private String requestURL;
	/**
	 * 分页每页显示条数
	 */
	@JsonProperty
	private Integer PageSize = 10;
	
	@JsonIgnore
	public String getToken() {
		return Token;
	}
	@JsonIgnore
	public void setToken(String token) {
		Token = token;
	}
	@JsonIgnore
	public String getVersion() {
		return Version;
	}
	@JsonIgnore
	public void setVersion(String version) {
		Version = version;
	}
	@JsonIgnore
	public String getPatform() {
		return Patform;
	}
	@JsonIgnore
	public void setPatform(String patform) {
		Patform = patform;
	}
	@JsonIgnore
	public String getDateKey() {
		return DateKey;
	}
	@JsonIgnore
	public void setDateKey(String dateKey) {
		DateKey = dateKey;
	}
	@JsonIgnore
	public String getSign() {
		return Sign;
	}
	@JsonIgnore
	public void setSign(String sign) {
		Sign = sign;
	}
	@JsonIgnore
	public Integer getCurrenPage() {
		return CurrenPage;
	}
	@JsonIgnore
	public void setCurrenPage(Integer currenPage) {
		CurrenPage = currenPage;
	}
	@JsonIgnore
	public Integer getPageSize() {
		return PageSize;
	}
	@JsonIgnore
	public void setPageSize(Integer pageSize) {
		PageSize = pageSize;
	}
	@JsonIgnore
	public String getIpAddress() {
		return IpAddress;
	}
	@JsonIgnore
	public void setIpAddress(String ipAddress) {
		IpAddress = ipAddress;
	}
	@JsonIgnore
	public String getIswifi() {
		return Iswifi;
	}
	@JsonIgnore
	public void setIswifi(String iswifi) {
		Iswifi = iswifi;
	}
	@JsonIgnore
	public String getRequestURL() {
		return requestURL;
	}
	@JsonIgnore
	public void setRequestURL(String requestURL) {
		this.requestURL = requestURL;
	}
	@Override
	public String toString() {
		return JSONObject.toJSONString(this);
	}
	
}
